package com.smartwebx.ha.biz.assign;

import java.util.List;

import com.smartwebx.ha.dal.assign.bean.HaStationGroupCfg;
import com.smartwebx.ha.dal.usebean.SuperStatGroup;

public interface HaStationGroupCfgManager {

	void updateHaStationGroupCfg(HaStationGroupCfg haStationGroupCfg, int areaId);

	void addHaStationGroupCfg(HaStationGroupCfg haStationGroupCfg, int areaId);

	void rmHaStationGroupCfg(int haStationGroupCfgId);

	List<HaStationGroupCfg> getHaStationGroupCfgByAreaId(int areaId);

	HaStationGroupCfg getHaStatoinGroupCfgById(int id);

	/**
	 * 获得所有一级站群码的名称
	 * 
	 * @return
	 */
	List<HaStationGroupCfg> getHaStationGroupCfgFirstLevel(int areaId);
	
	
	List<String> getGisStatGroupTab(int areaId); 
	
	
	List<SuperStatGroup> getSuperStatGroupByAreaId(int areaId);
	
	
	/**
	 * 暂时不用
	 * @param name
	 * @param level
	 * @param parentCode
	 * @return
	 */
	int checkStationGroupRepeat(String name, Integer level, String parentCode);
}